package Library.Common;

import java.io.IOException;
import java.io.ObjectOutputStream;

public class OperationsRefactor {

    public static void outputMessage(ObjectOutputStream output, Message message) throws IOException {
        output.writeObject(new Message(message.getMessage(), message.isConfirmation()));
        output.flush();
    }
    
}
